package com.company.poker.client;

/**
 * Description of class.
 * Created 4/10/13 2:37 PM
 *
 * @author andrey.rodin@playtech.com
 */

public class SocketClientRunner {
    private static IMessageHandler messageHandler;
    private static SimpleSocketClient client;

    public static void main(String[] args) {
        client = new SimpleSocketClient(args[0], Integer.valueOf(args[1]));
        messageHandler = new StringMessageHandler(client);
        client.addHandler(messageHandler);
        Thread threadClient = new Thread(client);
//        threadClient.setName("Socket-client");
        threadClient.start();
//        client.run();

    }
}
